<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!-- 屏蔽tomcat 自带的 EL表达式 -->
<%@ page isELIgnored="false" %>  
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<html>
<head>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <script type="text/javascript" src="${ctx}/static/js/jquery-1.12.4.min.js"></script>
    <script type="text/javascript" src="${ctx}/static/layer/layer.js"></script>
    <script type="text/javascript" src="${ctx}/static/js/ajax.js"></script>
    <script type="text/javascript" src="${ctx}/static/js/form.js"></script>
    <script type="text/javascript" src="${ctx}/static/bootstrap/bootstrap.js"></script>
    <script type="text/javascript" src="${ctx}/static/bootstrap/bootstrap-select.js"></script>
    <script type="text/javascript" src="${ctx}/static/bootstrap/bootstrap-select-zh_CN.js"></script>
    <script type="text/javascript" src="${ctx}/static/nice-validator/jquery.validator.js?local=zh-CN"></script>
    <script type="text/javascript" src="${ctx}/static/js/unit/unitEdit.js"></script>
    <link rel="stylesheet" type="text/css" href="${ctx}/static/bootstrap/bootstrap.css" media="all">
    <link rel="stylesheet" type="text/css" href="${ctx}/static/bootstrap/bootstrap-select.css" media="all">
    <link rel="stylesheet" type="text/css" href="${ctx}/static/larry/css/fonts/font-awesome.min.css" media="all">
    <title>unit信息</title>
    <script type="text/javascript">
    	 var ctx = "${ctx}";
    </script>
</head>
<body style="padding-top: 8px;">
	<div class="container-fluid">
		<div class="row-fluid">
			<div class="span12">

				<form role="form" id="unitform" class="form-horizontal "
					data-validator-option="{theme:'yellow_right', timely:3, stopOnError:false,focusCleanup:true,invalidClass: 'has-error'}">

					<div class="form-group">
						<label for="unitName" class="col-sm-2 control-label">unitName</label>
						<div class="col-sm-3">
							<input type="text" class="form-control" id="unitName"
								name="unitName" data-rule="required" autocomplete="off">
						</div>

						<label for="level" class="col-sm-2 control-label">level</label>
						<div class="col-sm-3">
							<input type="text" class="form-control" id="level" name="level"
								data-rule="required" autocomplete="off">
						</div>
					</div>

					<div class="form-group">

						<label for="parentCode" class="col-sm-2 control-label">parentCode</label>
						<div class="col-sm-3">
							<input type="text" class="form-control" id="parentCode"
								name="parentCode" data-rule="required" autocomplete="off">
						</div>
					</div>


					<div class="form-group">
						<div class="col-sm-offset-5 col-sm-6">
							<button id="btnsubmit" type="submit" class="btn  btn-green">
								<i class="fa fa-floppy-o" aria-hidden="true"></i> 保存
							</button>
						</div>
					</div>
					<input type="hidden" name="version"> <input type="hidden"
						name="unitCode">
				</form>
			</div>
		</div>
	</div>
</body>
</html>
